package com.example.mlingdu.toutiao.entity.video;

import java.util.List;

/**
 * Created by hcc on 16/8/30 19:50
 * 100332338@qq.com
 * <p/>
 * B站高清视频
 */
public class HDVideoInfo {
  /**
   * video : {"result":"suee","timelength":"119453","format":"flv","accept_format":"mp4,hdmp4,flv","accept_quality":"3,2,1","from":"local","seek_param":"start","seek_type":"offset","durl":{"order":"1","length":"119453","size":"28173278","url":"http://cn-tj4-dx.acgvideo.com/vg2/1/02/13101055-1.flv?expires=1484394000&ssig=FhSwJvfkI08ICprKFfqKIg&oi=1985550019&nfa=zewukGbkdeYAV6tVxJRokA==&dynamic=1","backup_url":{"url":["http://cn-sdjn-dx-v-02.acgvideo.com/vg1/d/f0/13101055-1.flv?expires=1484394000&ssig=GDqvJcULPVfgJv0Ai4rq6A&oi=1985550019&nfa=zewukGbkdeYAV6tVxJRokA==&dynamic=1","http://cn-lnbx-dx-v-04.acgvideo.com/vg7/c/0d/13101055-1.flv?expires=1484394000&ssig=JOMjcUI2cqRr6kUtqV2KSA&oi=1985550019&nfa=zewukGbkdeYAV6tVxJRokA==&dynamic=1"]}}}
   */

  private VideoBean video;

  public VideoBean getVideo() {
    return video;
  }

  public void setVideo(VideoBean video) {
    this.video = video;
  }

  public static class VideoBean {
    /**
     * result : suee
     * timelength : 119453
     * format : flv
     * accept_format : mp4,hdmp4,flv
     * accept_quality : 3,2,1
     * from : local
     * seek_param : start
     * seek_type : offset
     * durl : {"order":"1","length":"119453","size":"28173278","url":"http://cn-tj4-dx.acgvideo.com/vg2/1/02/13101055-1.flv?expires=1484394000&ssig=FhSwJvfkI08ICprKFfqKIg&oi=1985550019&nfa=zewukGbkdeYAV6tVxJRokA==&dynamic=1","backup_url":{"url":["http://cn-sdjn-dx-v-02.acgvideo.com/vg1/d/f0/13101055-1.flv?expires=1484394000&ssig=GDqvJcULPVfgJv0Ai4rq6A&oi=1985550019&nfa=zewukGbkdeYAV6tVxJRokA==&dynamic=1","http://cn-lnbx-dx-v-04.acgvideo.com/vg7/c/0d/13101055-1.flv?expires=1484394000&ssig=JOMjcUI2cqRr6kUtqV2KSA&oi=1985550019&nfa=zewukGbkdeYAV6tVxJRokA==&dynamic=1"]}}
     */

    private String result;
    private int timelength;
    private String format;
    private String accept_format;
    private String accept_quality;
    private String from;
    private String seek_param;
    private String seek_type;
    private DurlBean durl;

    public String getResult() {
      return result;
    }

    public void setResult(String result) {
      this.result = result;
    }

    public int getTimelength() {
      return timelength;
    }

    public void setTimelength(int timelength) {
      this.timelength = timelength;
    }

    public String getFormat() {
      return format;
    }

    public void setFormat(String format) {
      this.format = format;
    }

    public String getAccept_format() {
      return accept_format;
    }

    public void setAccept_format(String accept_format) {
      this.accept_format = accept_format;
    }

    public String getAccept_quality() {
      return accept_quality;
    }

    public void setAccept_quality(String accept_quality) {
      this.accept_quality = accept_quality;
    }

    public String getFrom() {
      return from;
    }

    public void setFrom(String from) {
      this.from = from;
    }

    public String getSeek_param() {
      return seek_param;
    }

    public void setSeek_param(String seek_param) {
      this.seek_param = seek_param;
    }

    public String getSeek_type() {
      return seek_type;
    }

    public void setSeek_type(String seek_type) {
      this.seek_type = seek_type;
    }

    public DurlBean getDurl() {
      return durl;
    }

    public void setDurl(DurlBean durl) {
      this.durl = durl;
    }

    public static class DurlBean {
      /**
       * order : 1
       * length : 119453
       * size : 28173278
       * url : http://cn-tj4-dx.acgvideo.com/vg2/1/02/13101055-1.flv?expires=1484394000&ssig=FhSwJvfkI08ICprKFfqKIg&oi=1985550019&nfa=zewukGbkdeYAV6tVxJRokA==&dynamic=1
       * backup_url : {"url":["http://cn-sdjn-dx-v-02.acgvideo.com/vg1/d/f0/13101055-1.flv?expires=1484394000&ssig=GDqvJcULPVfgJv0Ai4rq6A&oi=1985550019&nfa=zewukGbkdeYAV6tVxJRokA==&dynamic=1","http://cn-lnbx-dx-v-04.acgvideo.com/vg7/c/0d/13101055-1.flv?expires=1484394000&ssig=JOMjcUI2cqRr6kUtqV2KSA&oi=1985550019&nfa=zewukGbkdeYAV6tVxJRokA==&dynamic=1"]}
       */

      private int order;
      private int length;
      private int size;
      private String url;
      private BackupUrlBean backup_url;

      public int getOrder() {
        return order;
      }

      public void setOrder(int order) {
        this.order = order;
      }

      public int getLength() {
        return length;
      }

      public void setLength(int length) {
        this.length = length;
      }

      public int getSize() {
        return size;
      }

      public void setSize(int size) {
        this.size = size;
      }

      public String getUrl() {
        return url;
      }

      public void setUrl(String url) {
        this.url = url;
      }

      public BackupUrlBean getBackup_url() {
        return backup_url;
      }

      public void setBackup_url(BackupUrlBean backup_url) {
        this.backup_url = backup_url;
      }

      public static class BackupUrlBean {
        private List<String> url;

        public List<String> getUrl() {
          return url;
        }

        public void setUrl(List<String> url) {
          this.url = url;
        }
      }
    }
  }
}
